:root {
  --bg-color: #ffffff;
  --text-color: #111111;
  --link-color: #0066cc;
}

html[data-theme="dark"] {
  --bg-color: #1e1e1e;
  --text-color: #e0e0e0;
  --link-color: #6ab0f3;
}

html[data-theme="sepia"] {
  --bg-color: #f4ecd8;
  --text-color: #433422;
  --link-color: #ac6b2c;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "Abel", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 2rem;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

/* Para títulos */
h1,
h2,
h3 {
  font-family: "Oswald", sans-serif;
}

a {
  color: var(--link-color);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-color);
  padding: 0.5rem;
}

#theme-icon svg {
  display: block;
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

/* Estilos para códigos não processados pelo Prism */
pre:not([class*="language-"]),
code:not([class*="language-"]) {
  font-family: "Iosevka", monospace;
  font-size: 0.65em;
  background: none;
}

/* Estilos específicos para blocos do Prism */
body pre[class*="language-"],
body code[class*="language-"] {
  font-family: "Iosevka", monospace !important;
  font-size: 0.65em !important;
  background: none !important;
}

body pre[class*="language-"] {
  line-height: 1.4 !important;
  margin: 1em 0 !important;
  padding: 1em !important;
  overflow: auto;
}

footer {
  font-size: 0.75rem;
  text-align: center;
  margin-top: 2rem;
  padding: 0.5rem 0;
  opacity: 0.7;
}

/* vim: set ts=2 sw=2 tw=0 et fenc=utf-8 ft=css nospell: */
